﻿using System.ServiceModel;
using System.ServiceModel.Web;
using Me.Practice.ElevatorEngine.Domain.Entity;

namespace Me.Practice.ElevatorEngine.Infrastructure.Services.Contracts
{
	[ServiceContract]
	public interface IReportServiceContract
	{	
		[OperationContract]
		[WebGet(
			ResponseFormat = WebMessageFormat.Json, 
			BodyStyle = WebMessageBodyStyle.Bare, 
			UriTemplate = "/Building/GetReport/")]
		BuildingReport GetBuildingReport();
		
		[WebGet(
			ResponseFormat = WebMessageFormat.Json, 
			BodyStyle = WebMessageBodyStyle.Bare, 
			UriTemplate = "/Building/GetElevatorReport/{id}")]
		[OperationContract]
		ElevatorReport GetElevatorReport(string id);
	}
}
